package site.codeblog.designpattern.open_close_tenet;

public class Player {

    public static void main(String[] args) {
        Hero hero = new Hero();
        EpicSkip epicSkip = new EpicSkip();
        hero.setAbstractSkip(epicSkip);
        hero.display();

        LegendSkip legendSkip = new LegendSkip();
        hero.setAbstractSkip(legendSkip);
        hero.display();
    }

}
